package natappvip.liujinliang.common;

/**
 * @ClassName:  FileStatus   
 * @Despt: 文件状态   
 * @Auth: Liujinliang 
 * @Date: 2018年7月29日 下午9:44:10
 */
public enum FileStatus {

	FILE_DELETED(0, "文件删除"),
	FILE_EXISTED(1, "文件存在");
	
	private final int state;
	private final String msg;
	
	/**
	 * @Title:  ResponseCode   
	 * @Despt:  构造函数   
	 * @param:  @param code
	 * @param:  @param msg  
	 * @throws
	 */
	private FileStatus(int state, String msg) {
		this.state = state;
		this.msg = msg;
	}
	public int getCode() {
		return state;
	}
	public String getMsg() {
		return msg;
	}
	
}
